<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c"%>
<%@ taglib uri="http://www.longtop.com/intelliweb" prefix="e"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>对私存款余额</title>
</head>
<e:View id="view">
    <script type="text/javascript" src="<c:url value='/scripts/global.js'/>"></script>
	<script type="text/javascript" src="<c:url value='/scripts/skin.js'/>"></script>
    <script type="text/javascript">SkinUtil.getSkin();</script>
    <script type="text/javascript">SkinUtil.getModuleSkin();</script>
    
	<div id="Invisual Controls" style="min-height: 40px; background-color: LemonChiffon;" >
		<e:Dataset id="Dataset_Home" datasetRef="Dataset_Home" pageSize="-1" readOnly="false">
			 <e:Field name="LABEL" dataType="string" label="LABEL" />
			 <e:Field name="LABEL2" dataType="string" label="LABEL2" />
			 <e:Field name="VALUE" dataType="string" label="VALUE" />
		</e:Dataset>
	</div>

<body>
<e:Page id="ePage" action="com.longtop.framework.sys.login.web.Home2Action" style="min-height: 80px; width: 100%; height: 100%;" onAfterLoadPage="ePage_onAfterLoadPage()">
	<table style="text-align: left; width: 100%;" border="0" cellpadding="0" cellspacing="0" width="100%" align="center">
		<tr>
			<td valign="top" align="center">
				<div id='chart1' typeId='chart' chartType='piechart' style='visibility:hidden;' 
					options="{
						id:'PieChart',
						typeId:'chart',
						chartType:'columnchart',
						dataset:'Dataset_Home',
						labelField:'LABEL2',
						valueField:'VALUE',
						groupField:'LABEL',
						displayType:'MS2D',
						formatNumberScale:'0',
						showValues:'0',
						showNames:'0',
						showPercentValues:'0',
						decimalPrecision:'2', 
						baseFontSize:'14',
						width:'382',
						height:'232',
						exportEnabled:'1',
						exportAtClient:'0',
						exportAction:'download',
						exportHandler:'jsp/chart/FCExporter.jsp'
						}">
				</div><e:Text id="chartType" visible="false"></e:Text>
			</td>
		</tr>
	</table>
</e:Page>
</body>
</e:View>
</html>
<script type="text/javascript">
//init
function ePage_onAfterLoadPage(){
	var chartType = $J("chartType").getValue();		//得到图形效果的值
	var chart = $J("chart1");		//得到图形对象
	
	if(chartType == "columnchart_MS3D") {
		chart.render(null,{chartType:'columnchart',displayType:'MS3D'});
	} else if(chartType == "columnchart_MS2D") {
		chart.render(null,{chartType:'columnchart',displayType:'MS2D'});
	} else if(chartType == "linechart_MS2D") {
		chart.render(null,{chartType:'linechart',displayType:'MS2D'});
	}
	if(chartType == "piechart_2D") {
		chart.render(null,{chartType:'piechart',displayType:'2D'});
	} else if(chartType == "piechart_3D") {
		chart.render(null,{chartType:'piechart',displayType:'3D'});
	}
}
</script>